package com.hexinfo.dmpro.sparing.service;

import com.hexinfo.dmpro.sparing.dto.DropDateDataDTO;
import com.hexinfo.dmpro.sparing.dto.RuleToDistCPDTO;
import com.hexinfo.dmpro.sparing.dto.TableHandDTO;
import com.hexinfo.dmpro.sparing.dto.TbHdfsDistcpDTO;

import javax.validation.Valid;
import java.util.List;

/**
 * 规则与DistCP交互方法
 *
 *
 */
public interface RuleToDistCPService {

    String heatBackup(RuleToDistCPDTO ruleToDistCPDTO,String logId);

    String heatBackupWgToUat(RuleToDistCPDTO ruleToDistCPDTO);

    String hdfsDistcp(List<TbHdfsDistcpDTO> tbHdfsDistcpDTOs,String FileName,String id);

    String handBackup(TableHandDTO tableHandDTO);

    boolean dropDateData(String source);
}
